package com.jiuqi.irs.generator.dao.pojo;

import java.io.Serializable;
import org.apache.commons.lang.builder.ToStringBuilder;

/** 
 *        @hibernate.class
 *         table="TB_DECLARE"
 *     
 */
public class TbDeclare implements Serializable {

	private String declareGuid;

	private String orgGuid;

	private String canceltaskGuid;

	private String declareState;

	private String declareLevel;

	private String declareYear;

	private String declareTime;

	private String handlePerson;

	private String reserved1;

	private String reserved2;

	private String reserved3;

	public String getDeclareGuid() {
		return declareGuid;
	}

	public void setDeclareGuid(String declareGuid) {
		this.declareGuid = declareGuid;
	}

	public String getOrgGuid() {
		return orgGuid;
	}

	public void setOrgGuid(String orgGuid) {
		this.orgGuid = orgGuid;
	}

	public String getCanceltaskGuid() {
		return canceltaskGuid;
	}

	public void setCanceltaskGuid(String canceltaskGuid) {
		this.canceltaskGuid = canceltaskGuid;
	}

	public String getDeclareState() {
		return declareState;
	}

	public void setDeclareState(String declareState) {
		this.declareState = declareState;
	}

	public String getDeclareLevel() {
		return declareLevel;
	}

	public void setDeclareLevel(String declareLevel) {
		this.declareLevel = declareLevel;
	}

	public String getDeclareYear() {
		return declareYear;
	}

	public void setDeclareYear(String declareYear) {
		this.declareYear = declareYear;
	}

	public String getDeclareTime() {
		return declareTime;
	}

	public void setDeclareTime(String declareTime) {
		this.declareTime = declareTime;
	}

	public String getHandlePerson() {
		return handlePerson;
	}

	public void setHandlePerson(String handlePerson) {
		this.handlePerson = handlePerson;
	}

	public String getReserved1() {
		return reserved1;
	}

	public void setReserved1(String reserved1) {
		this.reserved1 = reserved1;
	}

	public String getReserved2() {
		return reserved2;
	}

	public void setReserved2(String reserved2) {
		this.reserved2 = reserved2;
	}

	public String getReserved3() {
		return reserved3;
	}

	public void setReserved3(String reserved3) {
		this.reserved3 = reserved3;
	}

	public TbDeclare(String declareGuid, String orgGuid, String canceltaskGuid,
			String declareState, String declareLevel, String declareYear,
			String declareTime, String handlePerson, String reserved1,
			String reserved2, String reserved3) {
		super();
		this.declareGuid = declareGuid;
		this.orgGuid = orgGuid;
		this.canceltaskGuid = canceltaskGuid;
		this.declareState = declareState;
		this.declareLevel = declareLevel;
		this.declareYear = declareYear;
		this.declareTime = declareTime;
		this.handlePerson = handlePerson;
		this.reserved1 = reserved1;
		this.reserved2 = reserved2;
		this.reserved3 = reserved3;
	}

	public TbDeclare() {

	}

	public TbDeclare(String declareGuid, String orgGuid) {
		this.declareGuid = declareGuid;
		this.orgGuid = orgGuid;
	}

	public String toString() {
		return new ToStringBuilder(this)
				.append("declareGuid", getDeclareGuid()).toString();
	}

	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((declareGuid == null) ? 0 : declareGuid.hashCode());
		return result;
	}

	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		TbDeclare other = (TbDeclare) obj;
		if (declareGuid == null) {
			if (other.declareGuid != null)
				return false;
		} else if (!declareGuid.equals(other.declareGuid))
			return false;
		return true;
	}

}
